﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class product_card_admin_ApplicationConfirm : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Button1_Click(object sender, EventArgs e)
    {

        string custID = Session["userId"] as String;
        Alert alert = new Alert();
        alert.addAlertApplication(custID, "Your DEBIT CARD application has been approved.", "../product/card/user/OnlineSales.aspx");
        Response.Redirect("Success.aspx");
    }
    protected void Button2_Click(object sender, EventArgs e)
    {
        string custID = Session["userId"] as String;
        Alert alert = new Alert();
        alert.addAlertApplication(custID, "Your DEBIT CARD application has been DENIED.", "");
        Response.Redirect("Fail.aspx");

    }
}